<%-- 
    Document   : catalog
    Created on : 24/06/2011, 04:16:52 PM
    Author     : iTec
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
        <title>FarmVille >> Catalogo</title>

<link href="templatemo_style.css" rel="stylesheet" type="text/css" />

<link rel="stylesheet" href="css/coda-slider.css" type="text/css" media="screen" charset="utf-8" />


</head>

<body>
	
    <div id="slider">
    <div id="templatemo_wrapper">
    	
        <div id="header">
            
            <h1><a href="main.jsp">FarmVille<span>La granjita de AyD2 </span></a></h1>
            <%
                HttpSession sesion = request.getSession(false);
                if(!(sesion.getAttribute("Nombre")==null))
                {
                    out.println("<a href=\"CerrarSesion.jsp\"><span>Cerrar Sesion</span></a> <h6>"+session.getAttribute("Nombre")+"</h6>");                    
                }
                else
                {
                    response.sendRedirect("inicio.jsp");
                }
            %>
        </div>
        
        <div id="menu">
            <ul class="navigation">
                <li><a href="ver_almacen.jsp">Ver Almacen</a></li>
                <li><a href="catalog.jsp" class="selected">Catalogo</a></li>
                <li><a href="granjita.jsp">Granja</a></li>                
                <li><a href="#">Mezclar Productos</span></a></li>
                <li><a href="transacciones.jsp">Otras Transacciones</a></li>
                <li><a href="CerrarSesion.jsp">Salir</a></li>
            </ul>
        </div>
        
        <div id="content">
        
            <div class="scroll">
                <div class="scrollContainer">
                
                    <div class="panel" id="aboutus">                       
               
          <%-- Inicio  --%>              
             
                        <h1>Catalogo</h1>

        <table id="catalogo">
            <tr>
                <th colspan="2">Semillas</th>
                <td width="30"></td>
                <th colspan="2">Animales</th>
                <td width="30"></td>
                <th colspan="2">construcciones</th>
            </tr>
            <tr>
                <td >
                    <form action="granjita.jsp" method="post">
                        <button name="boton" type="submit">
                            <img src="imagenes/horia.png" width="71" height="71">
                            <input type='hidden' name='tipo' value='1'>
                            <input type='hidden' name='id' value='0'>
                            <input type='hidden' name='costo' value='1.00'>
                            <input type='hidden' name='duracion' value='5'>
                            <input type='hidden' name='tiempo_actual' value='0'>
                            <input type='hidden' name='tiempo_fuera' value='7200'>
                        </button>
                    </form>
                </td>
                <td >
                    <form action="granjita.jsp" method="post">
                        <button name="boton" type="submit">
                            <img src="imagenes/maiz.png" width="70" height="70">
                            <input type='hidden' name='tipo' value='1'>
                            <input type='hidden' name='id' value='1'>
                            <input type='hidden' name='costo' value='0.50'>
                            <input type='hidden' name='duracion' value='5'>
                            <input type='hidden' name='tiempo_actual' value='0'>
                            <input type='hidden' name='tiempo_fuera' value='7200'>
                        </button>
                    </form>
                </td>
                <td >
                </td>
                <td >
                    <form action="granjita.jsp" method="post">
                        <button name="boton" type="submit">
                            <img src="imagenes/vaca.png" width="70" height="70">
                            <input type='hidden' name='tipo' value='2'>
                            <input type='hidden' name='id' value='2'>
                            <input type='hidden' name='costo' value='50.00'>
                            <input type='hidden' name='duracion' value='7'>
                            <input type='hidden' name='tiempo_actual' value='0'>
                            <input type='hidden' name='tiempo_fuera' value='0'>
                        </button>
                    </form>
                </td>
                <td >
                    <form action="granjita.jsp" method="post">
                        <button name="boton" type="submit">
                            <img src="imagenes/oveja.png" width="70" height="70">
                            <input type='hidden' name='tipo' value='2'>
                            <input type='hidden' name='id' value='3'>
                            <input type='hidden' name='costo' value='25.00'>
                            <input type='hidden' name='duracion' value='7'>
                            <input type='hidden' name='tiempo_actual' value='0'>
                            <input type='hidden' name='tiempo_fuera' value='0'>
                        </button>
                    </form>
                </td>
                <td >
                </td>
                <td>
                    <form action="granjita.jsp" method="post">
                        <button name="boton" type="submit">
                            <img src="imagenes/casa.png" width="70" height="70">
                            <input type='hidden' name='tipo' value='5'>
                            <input type='hidden' name='id' value='8'>
                            <input type='hidden' name='costo' value='200.00'>
                            <input type='hidden' name='duracion' value='0'>
                            <input type='hidden' name='tiempo_actual' value='0'>
                            <input type='hidden' name='tiempo_fuera' value='0'>
                        </button>
                    </form>
                </td>
                <td>
                    <form action="granjita.jsp" method="post">
                        <button name="boton" type="submit">
                            <img src="imagenes/granero.png" width="70" height="70">
                            <input type='hidden' name='tipo' value='5'>
                            <input type='hidden' name='id' value='9'>
                            <input type='hidden' name='costo' value='100.00'>
                            <input type='hidden' name='duracion' value='0'>
                            <input type='hidden' name='tiempo_actual' value='0'>
                            <input type='hidden' name='tiempo_fuera' value='0'>
                        </button>
                    </form>
                </td>
                <td>
                </td>
                <td>
                </td>                
            </tr>
            <tr>
                <td>Zanahoria $1.00</td>
                <td>Maiz $0.50</td>
                <td></td>
                <td>Vaca $50.00</td>
                <td>Oveja $25.00</td>
                <td></td>
                <td>Casa $200.00</td>
                <td>Granero $100.00</td>
            </tr>
            <tr height="15"></tr>
            <tr>
                <th colspan="2">Árboles</th>
                <td width="20"></td>
                <th colspan="2">Decoraciones</th>
            </tr>
            <tr>
                <td>
                    <form action="granjita.jsp" method="post">
                        <button name="boton" type="submit">
                            <img src="imagenes/durazno.png" width="70" height="70">
                            <input type='hidden' name='tipo' value='3'>
                            <input type='hidden' name='id' value='4'>
                            <input type='hidden' name='costo' value='5.00'>
                            <input type='hidden' name='duracion' value='5'>
                            <input type='hidden' name='tiempo_actual' value='0'>
                            <input type='hidden' name='tiempo_fuera' value='0'>
                        </button>
                    </form>
                </td>
                <td>
                    <form action="granjita.jsp" method="post">
                        <button name="boton" type="submit">
                            <img src="imagenes/naranja.png" width="70" height="70">
                            <input type='hidden' name='tipo' value='3'>
                            <input type='hidden' name='id' value='5'>
                            <input type='hidden' name='costo' value='5.00'>
                            <input type='hidden' name='duracion' value='5'>
                            <input type='hidden' name='tiempo_actual' value='0'>
                            <input type='hidden' name='tiempo_fuera' value='0'>
                        </button>
                    </form>
                </td>
                <td >
                </td>
                <td>
                    <form action="granjita.jsp" method="post">
                        <button name="boton" type="submit">
                            <img src="imagenes/silla.png" width="70" height="70">
                            <input type='hidden' name='tipo' value='4'>
                            <input type='hidden' name='id' value='6'>
                            <input type='hidden' name='costo' value='10.00'>
                            <input type='hidden' name='duracion' value='0'>
                            <input type='hidden' name='tiempo_actual' value='0'>
                            <input type='hidden' name='tiempo_fuera' value='0'>
                        </button>
                    </form>
                </td>
                <td>
                    <form action="granjita.jsp" method="post">
                        <button name="boton" type="submit">
                            <img src="imagenes/faro.png" width="70" height="70">
                            <input type='hidden' name='tipo' value='4'>
                            <input type='hidden' name='id' value='7'>
                            <input type='hidden' name='costo' value='15.00'>
                            <input type='hidden' name='duracion' value='0'>
                            <input type='hidden' name='tiempo_actual' value='0'>
                            <input type='hidden' name='tiempo_fuera' value='0'>
                        </button>
                    </form>
                </td>
            </tr>
            <tr>
                <td>Duraznal $5.00</td>
                <td>Naranjo $5.00</td>
                <td></td>
                <td>Silla $10.00</td>
                <td>Faro $15.00</td>
                <td></td>
                <td></td>                
                <td>
                    <form action="main.jsp" method="post">
                        <button name="boton" type="submit" value="Cancelar">
                            Cancelar
                            <input type='hidden' name='tipo' value='0'>
                            <input type='hidden' name='id' value=''>
                            <input type='hidden' name='costo' value='0'>
                            <input type='hidden' name='duracion' value='0'>
                            <input type='hidden' name='tiempo_actual' value='0'>
                            <input type='hidden' name='tiempo_fuera' value='0'>
                        </button>
                    </form>
                </td>
            </tr>           
            <tr>
                
            </tr>
            <tr>               
                
            </tr>
        </table>   
                        
                        
                        
                        
                        
                        
            <%-- ffinnnn  --%>
                  </div>                   
                    
                </div>
            </div>
            
            <!-- end of scroll -->
        
        </div> <!-- end of content -->
        
        <div id="footer">
        	
            Copyright © 2011 <a href="#"> USAC Ingenieria Grupo # Analisis y Diseño 2 </a>        	
        
        </div>
    
    </div> <!-- end of wrapper -->
    </div> <!-- end of slider -->

</body>
</html>
